#include <iostream>
#include <string>
using std::cout;
using std::endl;
using std::string;

void test(){
    string s1("hello");
    string s2("hello,world");
    string s3("hello,world,hello,c++,hello,python");
    int * pInt = new int();
    cout << &s1 << endl;
    cout << &s2 << endl;
    cout << &s3 << endl;
    cout << pInt << endl;
    cout << (void *)s1.c_str() << endl;
    cout << (void *)s2.c_str() << endl;
    cout << (void *)s3.c_str() << endl;
}

int main()
{
    test();
    return 0;
}

